package com.prs.crm.domain.cdxh.molding;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-7 上午09:31:04 简单说明 成型
 */
@Entity
@Table(name = "cdxh_molding")
public class Molding extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 产品编号
	 */
	private String moldingCode;

	/**
	 * 产品名称
	 */
	private String moldingName;

	/**
	 * 颜色
	 */
	private String moldingColor;

	/**
	 * 规格
	 */
	private String moldingNorm;
	/**
	 * 包装方式
	 */
	private String moldingPackStyle;

	/**
	 * 提货时间
	 */
	private Date moldingTihuoDate;
	/**
	 * 配料单制定时间
	 */
	private String moldingMakeDate;
	/**
	 * 比例
	 */
	private String moldingBlance;
	/**
	 * 是否急单
	 */
	private String moldingRushOrder;

	/**
	 * 订单或者新建计划编号
	 */
	private String moldingOrderPlan;

	/**
	 * 显示状态 默认是“1”，大于6的话就不显示
	 */
	@Column(columnDefinition = "Integer(11) default '1'")
	private int showState;

	/**
	 * 成型单数量
	 * 
	 * @return
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int moldingNum;
	/**
	 * 成型单已经生产的数量
	 * 
	 * @return
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int moldingYJNum;
	/**
	 * 订单下的数量
	 * 
	 * @return
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int orderNum;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMoldingCode() {
		return moldingCode;
	}

	public void setMoldingCode(String moldingCode) {
		this.moldingCode = moldingCode;
	}

	public String getMoldingName() {
		return moldingName;
	}

	public void setMoldingName(String moldingName) {
		this.moldingName = moldingName;
	}

	public String getMoldingColor() {
		return moldingColor;
	}

	public void setMoldingColor(String moldingColor) {
		this.moldingColor = moldingColor;
	}

	public String getMoldingNorm() {
		return moldingNorm;
	}

	public void setMoldingNorm(String moldingNorm) {
		this.moldingNorm = moldingNorm;
	}

	public Date getMoldingTihuoDate() {
		return moldingTihuoDate;
	}

	public void setMoldingTihuoDate(Date moldingTihuoDate) {
		this.moldingTihuoDate = moldingTihuoDate;
	}

	public String getMoldingMakeDate() {
		return moldingMakeDate;
	}

	public void setMoldingMakeDate(String moldingMakeDate) {
		this.moldingMakeDate = moldingMakeDate;
	}

	public String getMoldingRushOrder() {
		return moldingRushOrder;
	}

	public void setMoldingRushOrder(String moldingRushOrder) {
		this.moldingRushOrder = moldingRushOrder;
	}

	public String getMoldingOrderPlan() {
		return moldingOrderPlan;
	}

	public void setMoldingOrderPlan(String moldingOrderPlan) {
		this.moldingOrderPlan = moldingOrderPlan;
	}

	public int getShowState() {
		return showState;
	}

	public void setShowState(int showState) {
		this.showState = showState;
	}

	public int getMoldingNum() {
		return moldingNum;
	}

	public void setMoldingNum(int moldingNum) {
		this.moldingNum = moldingNum;
	}

	public int getMoldingYJNum() {
		return moldingYJNum;
	}

	public void setMoldingYJNum(int moldingYJNum) {
		this.moldingYJNum = moldingYJNum;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public String getMoldingPackStyle() {
		return moldingPackStyle;
	}

	public void setMoldingPackStyle(String moldingPackStyle) {
		this.moldingPackStyle = moldingPackStyle;
	}

	public String getMoldingBlance() {
		return moldingBlance;
	}

	public void setMoldingBlance(String moldingBlance) {
		this.moldingBlance = moldingBlance;
	}

}
